//
//  TDTabBar.m
//  TaduNewUI
//
//  Created by Xu Deheng on 12-5-18.
//  Copyright (c) 2012年 ___MyCompony__ All rights reserved.
//

#import "TabBarView.h"
#import "FunctionSet.h"

#if TARGET_OS_IPHONE

#import "XTabBarController.h"
#import "ButtonsGroup.h"

@implementation TabBarView
@synthesize buttonsGroup = _buttonsGroup;
@synthesize items = _items;
@synthesize delegate = _delegate;

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _buttonsGroup = [[ButtonsGroup alloc] init];
    }
    return self;
}
#if !ARC_ENABLED
- (void)dealloc
{
    [_buttonsGroup release];
    [_items release];
    _delegate = nil;
    [super dealloc];
}
#endif

@end

#endif
